//package shiro.sso.chapter01.controller;
//
//import org.apache.shiro.SecurityUtils;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import javax.servlet.http.HttpServletRequest;
//
//
//@Controller
//@ResponseBody
//public class TestController {
//
//
//    @RequestMapping("/test/test01")
//    public String test01() {
//        System.out.println(SecurityUtils.getSubject().isAuthenticated());
//        return "杜兰特";
//    }
//
//    @RequestMapping("/test/test02")
//    public String test02(String username, String age, String hight, HttpServletRequest request) {
//        System.out.println(request.getParameterNames());
//        System.out.println(hight);
//        System.out.println(age);
//        System.out.println(username);
//        return username;
//    }
//
//
//}
